<?php

/**
 * @author thihien
 * @copyright 2011
 */
require_once('includes/general.php');
if(!tep_db_checkDb()) die('khong ket noi dc csdl');
if(isset($_GET['macanbo'])){
     $macanbo=$_GET['macanbo'];
     $mathongtincanbo=$_GET['mathongtincanbo'];
     $sql2='select * from tbl_thong_tin_chi_tiet_can_bo where id='.$macanbo.'';
     $kq2=tep_db_query($sql2);
      
 
  $sql3='select tieu_de from tbl_thong_tin_can_bo where id='.$mathongtincanbo.' ';
        $kq3=tep_db_query($sql3);
        $item3=tep_db_fetch_array($kq3);
 
 
     $content='<div id="center">
          <div class="tieude_center" id="tieude_thongtin"><h3>'.$item3['tieu_de'].'</h3></div>
      ';
      while($item2=tep_db_fetch_array($kq2)){
          $content.='<div class="chitietcanbo">
              <p>'.$item2['thong_tin_chi_tiet'].'</p>
          </div>';
    }
     $content.='</div>';
  }
 
echo $content;

?>